import request from '@/utils/request';

export function treeMenu(query) {
  return request({
    url: `/hall/user/list${query}`,
    method: 'get'
  })
}

export function joinList() {
  return request({
    url: '/hall/user/detail',
    method: 'get',
  })
}
export function joinListF() {
  return request({
    url: '/hall/user/join/list',
    method: 'get',
  })
}
export function searchList(query) {
  return request({
    url: `/hall/user/search${query}`,
    method: 'get',
  })
}
export function outapply() {
  return request({
    url: '/hall/user/outapply',
    method: 'post',
  })
}
export function joinapplyF(form) {
  return request({
    url: '/hall/user/joinapply',
    method: 'post',
    data: form
  })
}
export function rollback(form) {
  return request({
    url: '/hall/user/join/rollback',
    method: 'post',
    data: form
  })
}

